package com.wang.head.controller;

import com.alibaba.fastjson.JSONObject;
import com.wang.common.controller.BaseController;
import com.wang.common.util.ConstatFinalUtil;
import com.wang.users.pojo.AUsers;
import com.wang.users.service.IUsersService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

@Controller
@RequestMapping("/head/users/")
public class UsersHeadController extends BaseController
{
    @Resource
    private IUsersService usersService;

    /**
     * 登陆后首页
     * @return
     */
    @RequestMapping("/main")
    public String main()
    {
        ConstatFinalUtil.SYS_LOGGER.info("==main===");
        return "/head/users/main" ;
    }
}
